package com.jy.rhin.infra.cda;

import com.jy.framework.base.exception.BaseException;
import com.jy.framework.base.exception.ErrorType;
/**
 * @Author 姚俊
 * @Date 2023/2/14 15:43
 * @Description CDA异常
 */
public class CDAException extends BaseException {

    public CDAException(String message, Throwable cause) {
        super(new ErrorType() {
            @Override
            public String getCode() {
                return "CDA异常";
            }

            @Override
            public String getMsg() {
                return message;
            }
        }, cause);
    }
}
